package com.techsoul.module.tms.pojo.vo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * FreightVehicleAssignedVo
 *
 * @author zhaowei
 * @since 2021-09-02
 */
@Data
@Accessors(chain = true)
public class FreightVehicleAssignedVo {
    /**
     * 记录 ID，系统自动产生
     */
    private String id;

    /**
     * 原始货源编号
     */
    private String puchaseOrderId;

    /**
     * 是否是抢单派单
     */
    private Boolean bidden;

    private String routeDistanceType;
    /**
     * 司机是否确认接单，抢单情况则默认为真
     */
    private Boolean confirmed;

    /**
     * 抢单编号,车队派单则此值为空
     */
    private String dispatchBidId;

    /**
     * 是否是自有车队司机
     */
    private Boolean selfDriver;

    /**
     * 派单次数序号
     */
    private Integer timesSequence;

    /**
     * 付款金额
     */
    private BigDecimal paymentAmount;

    /**
     * 付款币种单位
     */
    private String paymentUnit;

    /**
     * 运单是否真正被取货并进入运输流程
     */
    private Boolean transported;

    /**
     * 派单状态
     */
    private String status;

    /**
     * 货主编号
     */
    private String carrierNo;

    /**
     * 货主名称
     */
    private String carrier;

    /**
     * 合同编号
     */
    private String contractNo;

    private BigDecimal accountReceivable;

    private String ticketNo;

    /**
     * 运费单价
     */
    private BigDecimal transferUnitPrice;

    /**
     * 运费总金额
     */
    private BigDecimal transferTotalPrice;

    /**
     * 订单单价
     */
    private BigDecimal orderUnitPrice;

    private String billNo;

    /**
     * 司机姓名
     */
    private String driverName;

    /**
     * 司机手机号
     */
    private String driverMobile;

    /**
     * 车牌号
     */
    private String truckNo;

    /**
     * 派单预估数量
     */
    private BigDecimal assignExpectQuantity;

    /**
     * 要求取货时间
     */
    private Date requirePickupTime;

    /**
     * 要求交货时间
     */
    private Date requireDeliveryTime;

    /**
     * 要求取货地址
     */
    private String requirePickupAddress;

    /**
     * 要求交货地址
     */
    private String requireDeliveryAddress;

    /**
     * 货物名称
     */
    private String materialName;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否有效，数据字典 yn_type，1 表示是，0 表示否，默认0
     */
    private String isValid;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateDate;
    private Double totTonWeight;
    private String assignSeq;
    private String vehicleId;
    private BigDecimal distributionNo;
    private String orderNo;
    private String departCity;
    private String deliveryCity;
    private String site;
    private String estPickupTime;
    private BigDecimal priceOffer;
    private String departLatitude;

    private String departLongitude;

    private String deliveryLongitude;

    private String deliveryLatitude;
    private String customerNo;
    private String cargoType;
    private String customerCell;
    private String customerName;
    private String consigneeName;
    private String consigneeAddress;
    private String consigneeMobilePhone;
    private String dispatchId;
    private String ftlOrLtl;
    private String departYn;
    private String deliveryYn;
    private String needUpdateFlag;
    private String departImgFilename;
    private String deliveryImgFilename;
    private String lastConfirmTime;
    private String deliveryAddr;
    private String pickupAddr;
    private Date departTime;
    private Date deliveryTime;
    private Date estDeliveryDay;
    private String confirmedDriverCellno;
    private String sendDrivers;
    private String wechatId;
    private String deliveryAccptCellno;
    private String transportQtyUnit;
    private BigDecimal transportQty;
    private String transportQtyDepartUnit;
    private BigDecimal transportDepartQty;
    private String paymentType;
    private String vehiclesLengthReq;
    private String loadMethod;
    private String dispatchToDrivers;
    private String departDate;
    private String consigneeid;
    private BigDecimal priceAmtTot;
    private List<FreightVehicleAssignedLineVo> itemList;
    private String destinationName;
    private String departureName;

}
